int buzzer=2;

void setup() {
  // put your setup code here, to run once:
  pinMode(buzzer,OUTPUT);

}

void loop() {
  // put your main code here, to run repeatedly:
  unsigned char i,j;
  while(1)
  {
    for(i=0;i<20;i++)
    {
      digitalWrite(buzzer,HIGH);
      delay(1);
      digitalWrite(buzzer,LOW);
      delay(1);
    }
    for(i=0;i<20;i++)
    {
      digitalWrite(buzzer,HIGH);
      delay(5);
      digitalWrite(buzzer,LOW);
      delay(5);
    }
  }

}
